<template>
  <div>
    <div class="one">
      <router-link to="/Serch">serch</router-link>
      <router-link to="/Home">home</router-link>
    </div>
    <div>
      <router-view></router-view>
    </div>
  </div>
</template>

<script>
export default {

}
</script>

<style>
.one{
  display: flex;
}
a{
  display: block;
  width: 200px;
  height: 100px;
  background-color: skyblue;
}
a:hover{
  background-color: #fff;
}
a.router-link-active{
  background-color: pink;
}
</style>